<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<DocuServe.Core.Entities.Person>>" %>
<%@ Import Namespace="MyCode.Web.Mvc" %>
<%=
    new MvcGridView(Html, "PersonList", this.Model)
    {
        Columns = { 
            new MvcGridViewBoundColumn(){ DataField="FullName", HeaderText="Name"},            
            new MvcGridViewBoundColumn(){ DataField="Address", HeaderText="Address"},
            new MvcGridViewBoundColumn(){ DataField="HomeNumber", HeaderText="Home Number"},
            new MvcGridViewBoundColumn(){ DataField="MobileNumber", HeaderText="Mobile Number"},
            new MvcGridViewBoundColumn(){ DataField="EmploymentDate", HeaderText="Date Employed"},
            new MvcGridViewBoundColumn(){ DataField="BirthDate", HeaderText="Birth Date"}            
        }
    }
%>